﻿using System.Net;

namespace HashFoo.Rest.Common
{
    /// <summary>
    /// Interface that provides access to the current <see cref="NetworkCredential"/>s in an execution context.
    /// </summary>
    public interface ICredentialsProvider
    {
        /// <summary>
        /// The current <see cref="NetworkCredential"/>s of the execution context.
        /// </summary>
        NetworkCredential CurrentCredentials { get; }
    }
}